package com.cmict.data.form.api.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 字段信息 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class MdColumnsExcelVO {

    @ExcelProperty("自增id")
    private String id;

    @ExcelProperty("表id")
    private String tableId;

    @ExcelProperty("字段名")
    private String columnName;

    @ExcelProperty("字段位置")
    private Long ordinalPosition;

    @ExcelProperty("字段内容是否为空")
    private String isNullable;

    @ExcelProperty("numeric_presision")
    private Long numericPrecision;

    @ExcelProperty("numeric_scale")
    private Long numericScale;

    @ExcelProperty("datetime_precision")
    private Long datetimePrecision;

    @ExcelProperty("character_set_name")
    private String characterSetName;

    @ExcelProperty("字段类型")
    private String columnType;

    @ExcelProperty("column_key")
    private String columnKey;

    @ExcelProperty("字段注释")
    private String columnComment;

    @ExcelProperty("创建时间")
    private LocalDateTime gmtCreate;

    @ExcelProperty("修改时间")
    private LocalDateTime gmtModified;

    @ExcelProperty("是否删除,1删除，0未删除")
    private Integer isDeleted;

    @ExcelProperty("qualifield_name")
    private String qualifieldName;

    @ExcelProperty("prefix_name")
    private String prefixName;

}
